﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Auth.Main;
using Auth.MSSQLStore;

namespace UnitTestProject
{
    [TestClass]
    public class DBUnitTest2
    {
        [TestMethod]
        public void TestMethod1()
        {
            // IRepository<User> _userStore = new UserStore();
            BaseStore<User> abc = new BaseStore<User>();
            User u = new User() { UserId = Guid.NewGuid(), UserName = "wzb", Account="v",Password="pas" };
            int rows= abc.Add(u);
        }

        [TestMethod]
        public void MyTestMethod()
        {
         //   IRepository<User> _user = new BaseStore<User>();
        }
    }
}
